package com.xiaohao.student_course.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 小浩
 * @date 2018-12-15 16:57
 * @package com.xiaohao.student_course.bean
 * @description
 */
@Data
@Entity

@AllArgsConstructor
@NoArgsConstructor
@Table
public class Course {
    @Id

    private int id;
    private String coursename;
    private String introduction;

}
